#ifndef _PBVP_TOOLPLUGIN_H
#define _PBVP_TOOLPLUGIN_H

#include <QtPlugin>
#include <QMenu>
#include <QAction>
#include "../plugin.h"

namespace PBVP {
	class DataNode;
	/// 
	class ToolPlugin : public Plugin {
	public:
		///
		ToolPlugin() {}
		///
		virtual ~ToolPlugin() {}
		///
		virtual QString description() const {
			return QString("Abstract Tool Plugin");
		} 

		virtual bool isSupported(DataNode* pNode) {
			return false;
		}

		virtual QMenu* getToolMenu() {
			return NULL;
		}

		virtual QAction* getToolAction() {
			return NULL;
		}
	};
}

Q_DECLARE_INTERFACE(PBVP::ToolPlugin, "PBVP.ToolPluginInterface/1.0")
#endif